package com.situ.dao;

import com.situ.pojo.Food;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface FoodDAO {
    @Select("select * from food")
    List<Food> queryall();
@Select("select * from food where id=#{value}")
    Food queryById(int id);
}
